﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace l1cs.server.serverpackets
{
    public class S_DoActionGFX : ServerBasePacket
    {
        public static int ACTION_MAGIC = 0x16;

        private byte[] _byte = null;

        public S_DoActionGFX( int objectId, int actionId )
        {
            writeC( Opcodes.S_OPCODE_DOACTIONGFX );
            writeD( objectId );
            writeC( actionId );
        }

        override
        public byte[] getContent()
        {
            if ( _byte == null )
            {
                _byte = getBytes();
            }
            return _byte;
        }

        override
        public String getType()
        {
            return "[S] S_SkillGFX";
        }
    }
}
